//
//  RACSignal+Base.h
//  AFNetworking
//
//  Created by abc on 2019/1/14.
//

#import <ReactiveObjC/ReactiveObjC.h>

NS_ASSUME_NONNULL_BEGIN

@interface RACSignal<__covariant ValueType> (Base)

- (RACSignal<ValueType> *)hud;
- (RACSignal<ValueType> *)hudWithView:(__weak UIView *)view;
- (RACSignal<ValueType> *)hudWithViewController:(__weak UIViewController *)viewController;

/// 如果error, completed先完成，那么不会执行, 用于主动dispose
- (RACSignal<ValueType> *)beforeDispose:(void(^)(void))block;

@end

NS_ASSUME_NONNULL_END
